﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>无标题文档</title>
    <link rel="stylesheet" type="text/css" href="/static/admin/css/public.css">
</head>

<body>
<div id="main">
    <a href="{:url('add')}">添加分类</a>
    <table width="80%" border="0" cellspacing="0" cellpadding="0" class="news_table">
        <caption>
            新闻分类列表
        </caption>
        <tr>
            <th scope="col">编号</th>
            <th scope="col" width="100">分类名称</th>
            <th scope="col">排序</th>
            <th scope="col">操作</th>
        </tr>
        {volist name="data" id="v"}
        <tr>
            <td>{$v.id}</td>
            <td>{$v.cate_name}</td>
            <td>{$v.sort}</td>
            <td>
                <a href="javascript:;" onclick="del(this,{$v.id})">删除</a>/
                <a href="{:url('update')}?id={$v.id}">修改</a></td>
        </tr>
        {/volist}
    </table>
</div>
<!--导入jQuery.js-->
<script src="/static/js/jquery.js"></script>
<script src="/static/admin/js/cate.js"></script>
</body>
</html>
